package ShiYan;

import java.util.Scanner;

class Example11
{
    public static void main(String[] args)
    {
        int month = 0;
        Scanner sc = new Scanner(System.in);
        System.out.println("请输入月份：");
        month = sc.nextInt();
        if(month == 3 || month == 4 || month == 5)
        {
            System.out.println(month+"月是春季");
        }
        else if(month == 6 || month == 7 || month ==8)
        {
            System.out.println(month+"月是夏季");
        }
        else if(month == 9 || month == 10 || month ==11)
        {
            System.out.println(month+"月是秋季");
        }
        else if(month == 1 || month == 2 || month ==12)
        {
            System.out.println(month+"月是冬季");
        }
        else
        {
            System.out.println("没有这个月份");
        }
    }
}
